package com.itheima.d1_create_thread;

public class ThreadTest2_2 {
    public static void main(String[] args) {
        new Thread(() ->{
                for (int i = 0; i < 5; i++) {
                    System.out.println("子线程执行..."+i);
                }
        }).start();

        for (int i = 0; i < 5; i++) {
            System.out.println("主线程执行..."+i);
        }
    }
}
